package com.szly.phm.common.entity.dto.org;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Description : ${创建类}
 * @Author : chengjiang
 * @Date: 2021/7/8 11:30
 */
@Data
public class CreateOrgDTO {

    @ApiModelProperty(value = "机构名称")
    @NotBlank(message = "组织机构名称不能为空")
    private String name;

//    @ApiModelProperty(value = "机构类型00政府01企业")
//    private String organizationType = "00";

    @ApiModelProperty(value = "父级id")
    private String parentId;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "纬度")
    private String latitude;

    @ApiModelProperty(value = "联系人")
    private String contacts;

    @ApiModelProperty(value = "联系电话")
    private String telephone;

    @ApiModelProperty(value = "区域id")
    private String areaId;

}
